package com.gxa.k12.member.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 讲师
 * 
 * @author wenjie
 * @email wenj73487@gmail.com
 * @date 2021-07-20 11:28:11
 */
@Data
@TableName("tb_teacher")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TeacherEntity对象", description="讲师")
public class TeacherEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 讲师ID
	 */
	@ApiModelProperty(value = "讲师ID")
	@TableId(value = "id", type = IdType.ID_WORKER)
	private String id;
	/**
	 * 讲师姓名
	 */
	@ApiModelProperty(value = "讲师姓名")
	private String name;
	/**
	 * 讲师简介
	 */
	@ApiModelProperty(value = "讲师简介")
	private String intro;
	/**
	 * 讲师资历,一句话说明讲师
	 */
	@ApiModelProperty(value = "讲师资历,一句话说明讲师")
	private String career;
	/**
	 * 头衔 1高级讲师 2首席讲师
	 */
	@ApiModelProperty(value = "头衔 1高级讲师 2首席讲师")
	private Integer level;
	/**
	 * 讲师头像
	 */
	@ApiModelProperty(value = "讲师头像")
	private String avatar;
	/**
	 * 排序
	 */
	@ApiModelProperty(value = "排序")
	private Integer sort;
	/**
	 * 逻辑删除 1（true）已删除， 0（false）未删除
	 */
	@ApiModelProperty(value = "逻辑删除 1（true）已删除， 0（false）未删除")
	@TableLogic
	@TableField("is_deleted")
	private Integer deleted;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间", example = "2019-01-01 8:00:00")
	@TableField(fill = FieldFill.INSERT)
	private Date gmtCreate;
	/**
	 * 更新时间
	 */
	@ApiModelProperty(value = "更新时间", example = "2019-01-01 8:00:00")
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date gmtModified;

}
